package com.wen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 *
 * </p>
 *
 * @author xie
 */
@Data
@TableName("orders")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("createTime")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    @TableField("payType")
    private Integer paytype;

    @TableField("orderState")
    private Integer orderstate;

    @TableField("totalNum")
    private Integer totalnum;

    @TableField("amountNum")
    private Float amountnum;

    @TableField("payChannel")
    private Integer paychannel;

    private String orderNumber;

    private Integer consumerId;

    private Integer merchantId;

    private Integer onOff;

    private String backReason;

    private String backTag;


}
